Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Vanessa Asakigenoopsi 18.Dec.03 07:48 PM a Web browser
Notes Client All Releases All Platforms


I have an application certain Admin users will maintain documents and they are the only ones who should be able to access the database via the Notes Client. The rest of the user have access to the documents via a web browser and they need Author access to create special requests regarding the database. We have a PostOpen event in the Database Script that checks to see if its the Notes Client and if the person has a certain Role before allowing access. This works good except when there is a doclink to a document in the database. It doesn't recognize the person as having the Role and if the doclink is being launched from the Mail database, it closes the Mail database instead of the database that has the DB Script PostOpen event.

Code in the PostOpen Db Script:

@If(@ClientType = "Notes" & @IsNotMember("[DocAdmin]";@UserRoles); @Do(@Prompt([Ok];"Open Application from Web Only"; "This database must be opened using a Web Browser."); @Command([FileCloseWindow])); "")

If anyone has a better way to do this, I'd appreciate you sharing it.






A good way to Restrict access to Db... (~Vanessa Asakig... 18.Dec.03)
. . RE: A good way to Restrict access t... (~Hal Zenrekonyl... 18.Dec.03)
. . RE: A good way to Restrict access t... (~Evelyn Nimresa... 19.Dec.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS